Add docs for working with databases