Created the post controller and the basic view