new library class