rename mainCtrl