Initial version of chapter 3: "Implementation details", class diagram