Starting to rework the global setting of variables

Also need to figure out how I'm going to handle calculating them.