added new method resource.get.
added NewResource.data.
added NewResource.schema.