added pdf controller, routing and template