Family grouping: WIP

Signed-off-by: Jerome Flesch <jflesch@gmail.com>