Add events directory and set autoload in index.php