Gearman + refactoring
Gearman changes