Revert "new command system"

This reverts commit 58018ce97aa62d5c9a062d6c75375c2199531ffc.