Add a MainWindowsView class and use it in the main().