refactored project and added MainWindowView