Added mapper and reducer