Update to use the new mapreduce API.

- Wrap mappers in Mapper classes.
- Use new control API to start mappers.