Abstract has_many out of metric.
Record segments for a group.
Add code climate badge to readme.