Added command parser for converting input strings to executable commands