Added mapreduce base classes