Reorganized poll thread manager header and added documentation

For improving readability of code.

Compiled and ran unit test.