Updated adaptor and added i2c-device.js