Selecting, grouping, and linking layers