Major Code refactoring

Forked code from brians repo.
Refactored Classes, cleaned up comments, touched-up UI, removed
deprecated classes and functionality,  prepared for implementation of
ftpupload class