Refactored BasicCacheBuilder.
Created CacheBuilder and AdapterConfiguration.