modify modules to class objects.
move drivers in to one module
first fungtional version for magnetometer reading example.