added some new capabilities: pdf parsing, stats generation, etc.