Configuring index.php for app bootstrap and dispatch