removed curly braces
added text/x-tmpl-framewreck
templates: added helper functions
added helper functions