target new sdk
Add javadoc + a few fixes