MainWindow class first iteration