started the first implementation of the api