mempool added. worker added.

mempool, probably bullshit implemented :).
worker template worker.[ch], much stuff to be done.