Finish layout and routes.