Finish layouta and routes