Added all files/code necessary for delayed_job background tasks to work properly.