adding mapreduce template