Photo management refactoring.
Photo have now One-To-Many relations with other entities, allowing a huge simplification in the code.