changing post controller to posts, adding some views and and index page