Import ancient db.py.
Fix history linkFix history link
Beginnings of hierarchical key function doc.
Add metadb_example