Updating to include takephoto class