Basic map-reduce emulator functionality