The idea behind this code base is to demonstrate the concept of isolating the state of a template from a controller via a state machine. So this way a template state can be independant of the controller's logic.
I will be writing a detailed blog post soon which will explain all the concepts in more detail.