refactoring brico