update all templates to use require architecture

update all templates to use require architecture