Add index and config.sample files
Include config.php in the index file
Add config file check to index