Created simple FSM
Completed FSM skeleton. Started threading