added possible configure redis from config file
changed the order of the parameters in method "publish" and "produce" according to documentation