Object Oriented Data Science: Refactoring Code