add library class