add MainWindowView class as a sample.