Moved index file out of templates directory