added basic view/model stuff for the index page