refactor config
rename self config to settings
fix config debug output
Merge branch 'config'