Modernizing GooFit: A Case Study