Added Mapper and Reducer class templates.