added crud for photos
doing fixes from merge
fixing merge, basic crud