add method createGearmanApplication