Created files for rewrite
Created interfaces for rewrite
Created test for redis interface