Refactoring ressource