put the i2c-lib code in a common directory and share it