add chapter 8 examples, protobuf support.