Updated Posts index page to show posts lists, and updated the controller to match prototypical style.