Core i2c library written in C++