Split imports out to follow PEP 8 guidelines
Add support for warnings
Warn on invalid config groups

Fixes #2