add shaper to pool_scheduler add 'active' and 'passive' feature to queues implement unit and common tests write documentation