removed require.php since this is now all being taken care of by composer
moved the declaration of constants to helpers.php