pre chapeter 5
updated with layout and routes
finish layout