finish routes & layout