Splitting up MainWindow