In Brooklyn, Modernizing a Library for Downloads and Robots