finish layaout and routes