set up the global variables and an object to hold some of the variables for the story.