Implementations for a thread pool, message, and event scheduler library