config file added, calculate in client-side
Merge pull request #1 from zhujy8833/config_change

config file added, calculate in client-side