refactored connectionfactory to expose redis and json config objects.
Refactored to have RedisCommandBase
Tests pass