plugins.js uses db, added some set methods to redis.js