Change the main program to a class.  Create new program to find line of best fit.