Some rearranging and the start of the router.