Move pdf-core into its own gem