[schedules] introduces schedule object

* creates a database struct for managing db state
* relies on sqlite3