Moved main method from MainWindow to Startup
Typo