Refactoring router object => class.