remove debug code
Add java doc; minor revise
Add java doc; minor revise
Code revising