Direct port of old sensor_processor into new structure.
TODO: separate non-node functionality to a SensorProcessor class