Make all db methods public
Merge pull request #2 from zeux/master

Make all db methods public