Fix a bug in aggCtrl template misformed, add default templates, add readonly templates, and produce a script to transform context with renaming of template to partials