Adding flush() function into memcache module