Sig programming tutorial
Chapter 1: Using/compiling the existing program binaries