updated all templates to inherit from the base template