adding redis support and making redis setup script