Moved logic into separate class, tested over network instead of localhost
removing test code
Merge pull request #1 from jordash75/master

Moved logic into separate class, tested over network instead of localhos...