added templates, styles and js