Baby steps in action, some cleaning in mainView class