Add signatures for database API
Add callback to function signatures
Brief API docs.
Basic functions for get and add question/answer
Merge branch 'dev/db-api'