Split out table extraction into a magic library, and expose funding source metadata in output
moved entry into program to a different file with command line options