moved cte.doc to doc/template.md