Set up the basics of the index page.