support interactive query.
Merge pull request #8 from quipper/support-msg

support interactive query.