Refactored DmaList class, updated Dma class.