add a quick util for timedelta

rename Worker base class to RedisWorker, and add in a BaseWorker which
RedisWorker extends.