class_lib creation