Reorganize library