Added xStream class and generating XML for reporting.