Finished up worker code

Signed-off-by: Bennie Leonard <bennie.leonard@gmail.com>
Merge pull request #25 from benniel/rewrite

Finished up worker code