Create MainWindow which is function-empty