Finish layout and  routes