Made the TextParser class