more better implementation for PHP classes, one per file.