added templates and views
updated index