I2C class

This is needed for a few examples, also can be reused to write own
programs.