Created new MainWindow class