new post generateing a controller and view