Add best practice for Template.

Modified headers. Modify Minification/compilation. Add best practice for Template.