Separated header&footer template
Some template added and modifyed