Finish layout adn routes