added tmpl for config and DB