Updated API and added license