1. move the redis db module to another file for cleaness