cleanup parser and started to write formatter to print data formatted correcty