Created the cache and memcached classes and the adapter interface