cleanup
added a huge amount of java docs