railway operator class on a train