initialize the main class of redis client