Abstracted templates into html files