Lazy class initialization and connecting with Redis