Dependency Injection for PageParser and PaperHandler