initial version of group_by_pool action plugin