applying html templating and css
fixing dics