Big update on structure. Grouped code examples and updated the PDFs

Signed-off-by: Thomas Seng Hin Mak <makzan@gmail.com>