Refactoring code server