many changes: mapreduce scripts, cluster analysis and more