Updated the API to stable version one

The previous api was useless. This one is working :)