Initial work on automaton.Engine