minor changes
Put I2C calls in library