added constants.php for universal includes, and tweaks some of the requires for other files