add ProbModelXMLWriter class