Implemented Phrase parser