Add automaton system based on Elm's