improving classes for xml representation
started working on xml reader