index.php and refactoring #www