added basic MainWindow class