Updated skeleton
Untested bunch of code implementing documentation/database.rst. We are nearly done.