[#482]correct code style
[#482]correct code style
correct code style and add callback calls
[#480]adapt the data unit test to align with the async style of the getAllDataSets method in the lib/data module