Doc: add chapter 4, update chapter 6