Extracting sufia generator behavior

A work in progress