added memcache and rate limiter