Added animation to LineSegment. A bit more refactoring.