Create DoorSensor.cpp