Merge pull request #476 from jialinsun/master

refactor app code
Merge pull request #478 from jialinsun/master

fix email "," format modify config show style
data format for piechart