added parsing status to the output data. had to refactor some parts

Signed-off-by: Nicholas Lum <nicholaslum444@hotmail.com>