add pdf processing code
Merge remote-tracking branch 'origin/master'