Added variables to the main class to link the xml elements to our code