Finish layout and routes