Finished command parser and command validation