Rename group domain gen. to slots domain gen.

and following changes.
Basic version of plan generation from domains