PhotoTrack C++ back-end