refactored CDM function names to avoid conflicts elsewehre
including cdm ingest into api