updates to engine, better integration of statsd