constructor method for i2c bus