wip #19 Finished sensormanager part (a bit rough).

This might be finished.