more work on the api
update the models
add routes
update schedule