Abstract library that allows multiple processing strategies for Gearman enabled application