Created NewsPosts as a resource.