Implemented the photo Class infrastructure.