put collectd in a class, include it in run