Revert "Revert "Removing redis dependency - REST APIs return a fixed set of entites/fields.""

This reverts commit 81c1d4c2978d3bb6a135609fa561f5a65de327b8.
Revert "Revert "Revert "Removing redis dependency - REST APIs return a fixed set of entites/fields."""

This reverts commit 471731520584112edd9945093f61784c6893360d.
moving redis changes to seperate file and /collections path