Add main window to app