Added ResponseWindow code.

Note that I need to optimize it.
Merge branch 'hyamamoto' into dev