Finish  layout and routes