railway controller