decide to use MainView instead of MainWindow