add layout and routes