Renamed Input variable to fit the coding standards
Add method to retrieve string from Input
Removed unecessary code
Added GUI to main function