refactoring $packages -> $dependencies
redis module