Putting together first stab at the framework to run the simulation