added shell outs
added AccumulatorFactory class
lua grouping functions