Started creating the PHP API