add MainWindow class for starting app