added memcached support for cache and session