finish consumer

+ finish consumer, generate report.txt
- some unused import
Merge branch 'xiaohan'