Revamped DB: Changed Tasks to support the 'bucket' style approach, added TaskActions, TaskSensors, and Log tables.  Created/adjusted models to match.