fixed typo
added the "PhotoManager" utility and fixed models and controllers for photos