added GUI functionality

added the text-based functionality to a GUI format