Pinkerton refactor

Move pinkerton from being used as a binary to a package (the binary still exists, but is not packaged with Flynn).

Closes #445.