Refactored, the repositories, they are now independants from each other, resources configuration is using the repository logic