new component and rewrite index.php using it