Simplified Line.scala's constructor

No need to include the scanners in the constructor.