add getLibraryMap to server