adding the first version of the api docs