update the integration class
change to BSD
minor fix
bug fix