adding Library class