Update SQL to use gearman, add PHP scripts to get chunk data