bugfix class (without parent class) and add new php classes