adds collector class
Merge pull request #22 from will-weiss/collector

adds collector class