renamed PrintData to printData
created new class ParseStatus that contains enum
upgraided main function