major refactor of the template configuration

New key "template" added to template configuration to house the template twig path.
The key of the template configuration should not be the template
twig path