Adding database api to docs
Merge pull request #273 from ramielrowe/docs

Adding database api to docs