added caching mechanism to read the XML file only once and store the data in member variables for faster access.