Generate pursuit data from a list of libraries

This is nowhere near complete but what's there does seem to work :) @paf31 any feedback before I continue?