Add the function of SaveData and xml file writing. Add the class reference.
Add function of SavaData. Add class xmlwriter.