Removes use of global instance to share Sync instance between StateMachine instances
Merge pull request #26 from reggieb/master

Removes use of class variable to share Sync