Resolve initial RouterClass load.

This PR allows for a custom router to be resolved, before this was not possible.

seems to fix #3362

Some tricky bits, which resulted in mode codez, were that we allow post creation time Router swaps, and reopenings.