Added a Gui

Added a Gui and made the program run quicker