Start overhaul of CheckoutLineSimulation.py