modified apidoc and license