Fixed a few small bugs.
Started adding redis support.
Added redis caching support.