added a first version of the API proxy that should do the job