moved index.html to templates.