Finish layout and reoutes