MainWindow Class completed