Created an ApiResourceFactory