Added dao layer to dataset api

Added dao layer to dataset api