added some logging and early implementation of SensorManager