Implement router mode