complete front end refactor - added gui controller
major refactoring continued - getting ready for uploading files