Added template for redis db
Pass params to event listeners