cpp: added 'dp' attribute to sensor class
cpp: introduced I2C sensor class (incomplete)