setup the map reduce framework
add map reduce function file