add index.php and base class