Implemented the GUI
Added comments