redis connection code
Merge branch 'develop'