First class to hook into index.php when a request for the index is requested