Added a beginning of the automaton and strage classes