adding DB getDb() to api
Merge pull request #2 from core9/develop

adding DB getDb() to api