Refactor BalancedMetricResolver, allow FILE or HDFS persister, add callbacks for events, begin working on testing Fixes