made skeleton of mainwindow