BLK-41 Adds basic group-by block

Signed-off-by: Oren Leiman <oleiman@neutral.io>