renamed AggregateCallback class to CallbackReduction
added AggregateWriter class
updated comments and tutorial.md
refactored CallbackReduction