Move Sensor and SensorReading into their own library.