major changes: in DTD xmimsim->xmimsim-input

DTD extended with xmimsim-archive
api added to read and write archives plus auxiliary functions
untested