somewhat of a producer API and actual distribution of tasks