move templates to its own extensions/template directory