Add Photo model
Extract common repository methods into Repository