Rename index page template; minor refactorings