start merging templates and replacing html attribs with css