Updates to map-reduce for full map-reduce application capailities
Not yet tested