Move index.php into tools