Begins refactoring of RessourceService
Fix chat example