Refactoring route manager