Added max_cap function for groups.
Added route to view capacity of groups.
Added json that has capacity of all groups.