somewhat functional filter. working synchronizer

filter needs to be attached to NSQ

synchronizer has minor optimizations