wrap state machine setup in class method
Merge pull request #66 from monshq/feature-66-refactoring

Refactor Item