Troubleshot doorSensotr routes.  Added routes for motionSensor.  Added table inheritance for the hardware row.