Refactored speed, time, and distance connections into one Link class