refactoring, comments, remove dead code, moving project
work on testing generated fsm, generate specific methods