Adding DB for metadata
Generalize access to objects in metadb
Add test for persisting schema
Add test for loading persisted schema