added templates and code to generate templates to the compose rep