added grid generation to bifurcation runner
separated out chart code from mediator