Added accumulator_factory
Merge pull request #232 from pythonesque/accumulator_factory

Added accumulator_factory