moved empty config into cfreader.type.empty()

instead of configfile.empty_config()
revert production changes
minor tweaks to configfile