revise ParseManager class to use delegation instead of class methods for photo retrieval