add the date time stamp
Create xml header and trailer
encapsulate the enums