Adding javadocs and fixing visibilities.
setting up Sonatype
updating the resource caching tutorial
more documentation.