Moved MainWindow content into seperate pages