Created the resource class