Refactor

1. config is passed as a parameter to each module
2. Removed redisProxy.js