How to implement a Python tool for automated academic citation and reference management?