Got the text parser working

Signed-off-by: Daniel Fagnan <dnfagnan@gmail.com>