Refactory all the ad data converter and add flags for data/channel/network.

Make the base class reusable for all cases...
Add flags for running specific data/channel/network.