GUI part

The main function is now located in AutomatedGUI class.