Refactor code to move router logic to each router