Fully support applying template changes
Refactor config handling to a generic view