Move RedisDatabase to own file.