First pass at having Map and Reduce.

Automaterialize is now turned off, let's get it right with manual
triggering first.