Let's not rely on arbitrary defaults. If a database hasn't been set, we probably should fail.
PSR-2
Merge pull request #9 from ckd/master

formatting and some modifications