added map-reduce function in data collection modules
adjusted a variable name
dropdown panel implemented