15.10.2013 Added xml writer/reader