Expose global database options
Merge pull request #2 from wtcross/feat-expose-db

Expose global database options