Worker factory options

This should resolve issue #180.
Thanks!