load router on pre bootstrap