Create ExceptionsManager.php and update index.php