Add db element to the dbpool configuration.

Add db element to the dbpool configuration.
Merge pull request #9 from sixizi/master

Add db element to the dbpool configuration.