Threading, queueing, unified class