Reinstated Lines class - refactored yo