Starting to handle SubResources, need to handle well subRepositories