remove stat-related codes.
remove redis-related codes and docs.