Working prototype of pdfmaker

Could proably clean up some code. This code is used for an internal
project and losely based on forge_fdf.