Added index.php file and added a constant to read from riley