Add model for task. Add core logic for automation schedules.