Various speed improvements
Fixed javadoc
Removed the  usage of common values for caches, some minor changes
Added modified info in license header
Improved read cache