(fix)refactor ui route
Merge pull request #6 from moxizhou/master

(fix)refactor ui route to only state