Updating internal PHP, adding further classes. d0.php is now in testing phase