add work and pool structures

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
remove receive from work

The receive function is included in the actor structure.

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>