Finish layput and routes