This chapter contains the foundations. Proceed with Chapter 2 for the gory details.