rename mainController to homeController