Initial working versions of FSM
Merging original README.md