Added error logging for exceptions and updated aggregate dataset to use
dataset interface