class for connecting to statsd and config