Add CommitGroup
Add create_commit_group, create_commit_groups
Rename methods

stats_by_* ->
commit_groups_by_*
Remove unused methods