Persist projects and domains to xml files, and support reading and writing to these files. close #13