Adapted for hosting at Heroku (without memcache usage)