Implement APIs and process for managing site data

See #3, #4 
The comment about re-parsing the metadata before creating the database is confusing to me.