Config groups and logging support

Added support for config groups.
Added logging support.
Updated the README for new usage.
Pylint / Flake8 fixes.