design the main class of the redis client