MainWindow is created, some functionality has been implemented