modify the state delegate
Merge pull request #594 from jialinsun/master

broker-service refactor
review the code
merge
refactor broker-service
Merge pull request #595 from youyong205/master

refactor
refactor broker && modify app js