Added full loading of the library database and hook to refresh it using the Curator.