finished draft of compact format importer