Add java doc
Replace dynamic generate ruby class to ZContext