Changed names on some methods to better reflect what they do. Changed XML-file reader and writer to use const strings for the tag names.