Moving all model object creation to DependencyContainer.