* add comment and cleanup redundant class * update java doc * add javadoc to listeners * cleanup exception class