add a constructor for opaque type cowboy_router:routes()