Back-End Engineer (Python): Refactor Legacy Module