redis to predis refactoring

#25