Cleaned up LineNumbering

cleaned up comments, slimmed code down a few hundred lines, changed name
of class to make more sense