added a template file and config file