updated the api and added license copy