explain how to extend application templates. [ci skip]