Implemented XML Reader/Writer