completely fixed php lib directory and functions.php imports for it
merged through whitespace issue in cpt.php, trivial