add client sync scheme selects to localdb, start on interrupt sync scheme implementation, change sync endpoints to start with /sync/
move global config values to global key in localdb