Stores a reference to the router on the State namespace