Added constructor for connecting to memcache server