added a command parser to chat