refactor scratchmud/command.
commands register system.