finish layout and layed out routes