Using more exceptions and transferring not echoing in index.php