Added java docs and doc generator script