Creating Resource, TypedResource and TypedResourceTest classes