adds post model on rails side
adds post controller and routes on server side