Make all db methods public

Huh, not sure why I left this out of the previous PR.
Without this you can't use the DB from another module.