Made basic main window and application class