code: function(options) {
          this._transitions = {}
          this._states = {}
          options = options || {}
          this._bindStates()
          this._bindTransitions()
          if (options.debugStateMachine === true)
            StateMachine.DebugView.register(this)
          this.bind('all', this._onMachineEvent, this)
          this.currentState = INIT_STATE
          this.startStateMachine = function() {
            throw new Error('startStateMachine has been called twice!')
          }
        }
docs: Initializes the state machine : binds states, transitions, ...