[core/commands] refactored the command parser to a more elegant interface
[core/commands] refactored the command parser to a more elegant interface