Renamed MainController to mainController.