finished up the api
finished up the api