changes to html templates , organizing sturcture.