Finished command structure, need to fix bug where infinite loop occurs when theres no matching brace