added basic WIP code to track and export traffic flow