Finishes layout and routes