adding post model to repo.