Settings check.
Create database if it does not exist.
Merge pull request #2 from fredericbonjour/master

Create database if it does not exist and other enhancements.