Create a router for methods