Updated index.php and added config.php