Reorganize library files