api and config template files