Adding templating architecture – Lex