Breaking up index.php into language, template and control file in prep for i18n