finish layout and routers