Add docs on initializing a database

Fixes gh-364