Break code apart further into model_initialize and model_solve modules.