Finish the layout and routes