reorganized libraries directories