Added perf counters and DCrank endpoint
Made changes as per code review feedback