Added the xml class

Added functions:
startxml()
addxml()
rewritexml()
returnxml()