add config_template_values class parameter to support arbitrary variables in templates