Added more java docs and removed a few useless classes.