moved MainWindow class and main to MainWindow.pyw