[schedules] introduces schedule object

* creates a database struct for managing db state
* relies on sqlite3
adding tests for API
[schedules] adding scheduler engine