refactored a bit and trail.data now is the class used to describe a unique event. eliminated Position class.