replaces setup_resource with fetch_resource and uses resource_map attribute instead of resource_cls