refactored Collmex::Api::Line