write phidget lib, get rid of ruby script