Transfer accumulators to JobManager, made accumulators more generic