Creating MainWindow