clean sample code, and add redis client
clean code