c++ ish implementation ... will probably replace with C-style includes instead for performance reasons. too many object pointer hits for arduino.
working mpu6050 via objects
mpu6050 config