Developer Hudson closes on Brooklyn Heights Library site and $280M loan