run module in redis and wants to call a method in a class in models