Added new Class to write and read XML file.