layout and routes finished