moved vars.class.php include below global defines in inc.php
added a little more commented code to inc.php for now