Refactorise system of multiple version of a same dependency