local changes.
File structure changed a bit to implement it into Redis library.