Convert the statistics class to a collection

Rather than storing a specific set of statistics, the results are now
just in a generic collection. This removes the need for the builder
class.

Fixes #3