Finished implementation of XML import/export (Issue #15)