refactor and update GUI

Consolidated GUI code into one file and removed unused files.