Finish layout anbd routes