Moving router to a wt_router component