update Library class to have name parameter