XS interface completed, including new Line class