Add Collector class so clients can collect data easily