then all the sensor stuff into a library with a basic api that can be extended