Finish layoute and routes