Replace tuple with just class members.

Before i made class group_index_t, it was just tuple. And for some strange reason i made group_index_t a wrapper on top of this tuple.