Better repository methods (use now async)
Now handles well simple resources
Next step: subResources