from api_users.class.php to api_contacts.class.php.
Simplify the code that looks for the API classes and replace the /contact/ and /user/ APIs by /contacts/ and /users/.