Created the posts resource and the associated views and controllers