created layout and routes