new file with functions to export ply files as a service