adding XML Writing helper class (only header)