refactored shorthand layer.  accepts list of stats
fixed tests. all tests pass
adde groupby xforms