Added caching support, and updated readme and license.