refactor code
use different id for web and emacs client
remove mfa in rte_state
display the return value
Merge pull request #36 from liuhongchao/add-return-value

Add return value