Exposing access to the underlying S/C graph for stats gathering.
Made the optimiser creators separate objects, such that they can be configured and instantiated with a path.