refactor schedule spec to use ostruct
add deleting of all schedules
WIP: first pass at scheduler sync