Manufacture of electric, diesel, steam and other rail locomotives