Separated html files into template files