most of chapter 5
Finish layout and routes