Code Cleanup: cmdinterpreter.c

-) general code cleanup in whole file
-) added new cmd structures for more modular in-chat commands