Master pop table refactor to pluggable

creating pull request from master pop pluiggable with packet injector and packet gather to master.