Extract database config to a file and share db with child.
Merge pull request #7 from NetCrafters/feature-config-file

Extract database config to a file and share db with child.