New utilities for managing pool of poll thread
New file for API implementation
Some bugs found and fixed