Explain the core principles of Object-Oriented Programming (OOP) and how you apply them to structure an ML pipeline.