Added the TextParser class