moved index.html.erb to the templates directory