Refactoring : all objects in objects.py