layout
finish layout and routes