Cache added

A separate Cache class added to work with both Memcache an Memcached.
Class constructs with cache instance that can work with preinstalled
server.