added scaffolding to index.php