added redis as an option in the factory
Merge pull request #3 from aj0y/master

added redis as an option in the factory