ADD: PHP: class base for php