Added some javadoc
Debug output added to topics