unit tests written, worker_pool passing unit tests
breaking out utility functions
utility functions written, "verify" segfaulting. TODO: unit tests for utility functions