Refactors the internal implementation of ExecutionContextImpl so that it is just a small wrapper,
delegating the "real" work to the factory methods in its companion object.