Wrote the command parser and matcher for arbitrary strings