This locomotive classes are already predefined, you just have to scroll to the appropriate tab and insert the road number and the locomotive is saved to the roster.
Having said that, I think this is a feature available only to monitors, better take their help.