Support shared evaluation.

Closes #16.
Merge pull request #27 from rhattersley/shared

Support shared evaluation.