Seperated the index.php file