Refactored input interface code
Merge branch 'master' of https://github.com/SpaceAppsReno/node-mosquito