Initial commit for adding MapReduce support
Adding scripts
Some fixes of the scripts