Implemented first mainwindow