generate-configuration: whitespace formatting in templates
generate-configuration: strip unused helpers
generate-configuration: more formatting
generate-configuration: process todo's in comments