Lokomotiver, person- og godsvogne