Remove unnecessary dependecies, and add new dependency on Redis.