Finish layout ansd routes