added XML parser class