fix: moved datasetmetadata name to abstract layer
wip: fixing memory leaks