Rename logger
Add i2cdevice class for handling communication with wiringPi and i2c.
Read accelerometer using i2c.