avpops: converted to the new module interface