move some directorys around and added pdf.cpp - still needs formating but otherwise done