rename package; output debug message; add javadoc