Add dummy article middleware.

Move redis connection logic to own module.