Renamed caching constants
Fixed typo in design patterns
Added cacheprovider class