create a separate file for main window code