Started to seperate out elements from Animation that can be reused elsewhere. Added tests for Location.
Added test for totalDistance