add template for index html, change template path in settings, change index method