Added logic to divide up work and store workloads in the database.
Added logic to create workers, but something went wrong. Need to look into how best to debug triggers.