removed unneeded parameter from router constructor