Added view for index page.

Credit where credit is due: this is currently ripped wholesale from the folloing
roeim.net/vetle/docs/cl-webapp-intro/part-1/