Adding MainWindow