Moved library storage to Library class