refactor so that Line holds the structure and all information about a particular line
get pylint happier again
remove debug