Started using the AntRenderer class to render pages which resulted in a cleaned up index.php