add license, update comments