Adds a PHP and REST API to interact with data, file, and clipping data.

This needs more testing before it's merged.