add redis support and  any xml