Create CPdf Class