Moved the backend to PHP