Introduce ElementSlot (not used it yet)
ditto
ditto
layout functions for element groups