added 4 chapters to Java API