edge.aggregator: Added support for port statistics. Refactored flow statistics.