Made line class

Things with lines are a little more intuitive, but the changes are not
drastic.