Started to move to c++ (for ease of binding with poppler) - added some basics to the document library