Started code for the Sensor Pre-processor