MapReduce code for Augur Framework