refactor config settings.
Merge pull request #69 from cwoac/refactor_config

refactor config settings.