move redis dependency into the package itself