Added basic (untested) I2C functionality