Assign URL constants for connecting with Redis and SQLite3.
Configure Redis connection by passing a Redis instance.
Configure Redis connection by passing a URL.
Raise an exception if we pass something else.