adds simplified template engine
remove old engine
finalizes switch to new template-engine, removes XRegExp dependency