remove dagwriter in favor of new importer function
address comments from PR