Add gearman support for submitting jobs