Feature: Persistence

Handle updating of models and database via API calls.

TODO:
add endpoints to add audio flies and images.
Avoid using {...} for multi-line blocks.