First draft of thread spawner

stian: No. We should stick to one.  I like barrel line