require Java 6 for now since we have dependencies that require 6
added some javadoc