created basics for the line class