added database guide

I use a separate PR for the database guide because it makes the feedback process much more pleasant. As always, criticism is welcome (both about the language and the content, if it's understandable etc.).