Added namespaces and PSR-4, added full support for YiiRedis, changed code structure and class names