refactored so it can be made into a npm module
Merge branch 'master' of github.com:jmartin84/SurgeTron