Refactoring a Library's Legacy Catalog: a Case Study