Adding map and reducer structure classes