Added possibility to group results by a given function
Added a points calculator that can calculate total number of points for given results