The Economic Benefit of Refactoring