initial import of dma package v1.2