Finish chapter5 with layout and routs