Rewrote examples using fluent automaton builders
Made examples instantiable (and garbage collectable)
Merge branch 'integration-tests' into develop