Added javadoc and copyright statements.
Added cache entry classes.