Created regeneration worker and hooked various wordpress actions to it.