add comments and create MainGUILauncher to launch MainGUI