EXP-122. Adds the Prepare phase to the ModelEnvironment.

Reviewed by: Robert Chu