[IMP] change licence and improve doc string