Discuss how you would architect a system for integrating machine learning models into an existing software infrastructure.