Add GroupOptions class to simplify view

This is so much better thanks @jonlemmon.