Setting new PHP classes
Functions referencing correct classes