flask memcache setup