Command Parser for Text-Based games