implementation of gphoto lib