Added i2c class, with basic methods