line plotter and csv reader are cleaned up and ready to use