Fixed rebootans shutdown for an agent
Added support for rethinkdb in python apscheduler
Started work on the new scheduler
Working on scheduler