MainController refractored