Cleaned up the code a bit by adding RedisWorker superclass