Initial upload of API

Install these on a server running PHP