Added a graphical console, wrote method prototypes for class Main, added
a method that will perform an action when the GUI is closed to class
GUI, added comments for all classes and methods.