pdf generator for KRS

Generating pdf based on xml template and pdg source.