add redis support, fixes #20