some refactorings
Merge branch 'master' of github.com:KABA-CCEAC/node-ftdi