Added java docs for DQResponseListener and code refactoring for a better tomorrow.
Code refactoring