refactoring mybox, command invoke structrue re-designed.