StageHandler for run stages.
Improving the optimization algorithm stage handler (fixing bugs).
Adding tests for the stage handler.
Working on second (failing) stage handler test.