Correct some version bugs and add support for regis and memcache