Finish layout  and routes