Restructuring of map-reduce chapters, diving in to the analytic patterns