added layout and routes