cleanup, and add interfaces for running many simulations