[common] created more simple thread poll class
[common] removed ThreadPipeline class + added initialization in Optional class