More elegant implementation of plot groups

Created by: ssomnath

Use region references instead of separate groups and datasets.