ChenPHP: write the main class file