Check phpredis before using Credis
Remove unused files