Implemented Caching mechanism and updated documentation.