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

Extract log level, db config, and port to a JSON config file.

My hope is that the config file could be expanded to enable and disable various modules or features (that have not been built but are in progress).