new index.php, added the demoapp to composer.json