Added database setting

Fixes #12
Merge pull request #38 from jprovaznik/db2

Added database setting