Quincy took over the State Department in 1818. Quoting from page 200 of Unger’s book:

“State Department papers had been in disarray since the War of 1812, so he ordered clerks to create an index of diplomatic correspondence and cross-reference every topic in every dispatch and letter to and from overseas consulates and ministries, foreign ministers, and foreign consuls. He then organized and expanded the State Department Library(!) which became one of the world’s largest collections of references and other works relating to foreign affairs.”

I really love how organized and librarian like some of these early Presidents were. They really set the foundation for future office holders.