refactor of MainViewControllerView.m