Clean up the server interface, added a worker pool for handling messages.