Move MainController into home view