Added simple automata with testing module
Some more mods to automata (context on actions / conditions)