Renamed trainControl.js for package deployment.
Forwards and backwards interface.